<div class="row" style="margin-top:50px;">
    <div class="col-xs-offset-1 col-xs-10">
        <form class="form-horizontal" name="RulePackageForm" g-validator="RulePackage_InstallUpdate"
              data-invalid-msg="tooltipMessenger">
            <input type="hidden" name="id" ng-model="rulePackage.id">
            <input type="hidden" name="projectid" ng-model="rulePackage.projectid">
            <input type="hidden" name="status" ng-model="rulePackage.status">
            <input type="hidden" name="businessModelId" ng-model="rulePackage.businessModelId">
            <div class="form-group">
                <label class="col-sm-2 control-label">规则包名:</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" name="name" ng-model="rulePackage.name" placeholder="规则包名">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">版本号:</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" name="version" ng-model="rulePackage.version" name="version"
                           onkeyup="value=value.replace(/[^\d.]/g,'')" placeholder="版本号">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">规则包编码:</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" name="artifactId" ng-model="rulePackage.artifactId"
                           placeholder="规则包编码">

                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">描述:</label>
                <div class="col-sm-5">
                    <textarea class="form-control" cols="" rows="3" name="remark"
                              ng-model="rulePackage.remark"></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">状态:</label>
                <div class="col-sm-5">
                    <g-dropdown placeholder="请选择" source="[{roleId: 0,roleName: '启用'},{roleId: 1,roleName: '停用'},{roleId: 2,roleName: '终止'}];"
                                ng-model="rulePackage.packageStatus" display-express="roleName" value-prop="roleId" disabled="disabledPackage">
                    </g-dropdown>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="button" class="engine-btn-danger" ng-click="reset()" pg-per="{{packageId}}|1" pg-sta="{{status}}|0"><i
                            class="icon-engine-refresh" ></i>重置
                    </button>
                    <button type="button" class="engine-btn-default" ng-click="save()" pg-per="{{packageId}}|1" pg-sta="{{status}}|0"><i
                            class="icon-engine-preservation" ></i>保存
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>



